﻿<!DOCTYPE HTML>
<%@page contentType="text/html; charset=UTF-8" language="java" %>
<% String path = request.getContextPath(); %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <script id="allmobilize" charset="utf-8" src="static/web/js/allmobilize.min.js"></script>
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="alternate" media="handheld"  />
    <!--滑块-->
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/static/slider/slide.css"/>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/static/slider/layui/css/layui.css"/>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/slider/layui/layui.js"></script>
    <!-- end 云适配 -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>登录-拉勾网-最专业的互联网招聘平台</title>
    <meta property="qc:admins" content="23635710066417756375" />
    <meta content="拉勾网是3W旗下的互联网领域垂直招聘网站,互联网职业机会尽在拉勾网" name="description">
    <meta content="拉勾,拉勾网,拉勾招聘,拉钩, 拉钩网 ,互联网招聘,拉勾互联网招聘, 移动互联网招聘, 垂直互联网招聘, 微信招聘, 微博招聘, 拉勾官网, 拉勾百科,跳槽, 高薪职位, 互联网圈子, IT招聘, 职场招聘, 猎头招聘,O2O招聘, LBS招聘, 社交招聘, 校园招聘, 校招,社会招聘,社招" name="keywords">

    <meta name="baidu-site-verification" content="QIQ6KC1oZ6" />

    <!-- <div class="web_root"  style="display:none">h</div> -->
    <script type="text/javascript">
        var ctx = "h";
        console.log(1);
    </script>
    <link rel="Shortcut Icon" href="h/images/favicon.ico">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/web/css/style.css"/>

    <script src="${pageContext.request.contextPath}/static/web/js/jquery.1.10.1.min.js" type="text/javascript"></script>

    <script type="text/javascript" src="${pageContext.request.contextPath}/static/web/js/jquery.lib.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/web/js/core.min.js"></script>

    <script type="text/javascript">
        var youdao_conv_id = 271546;
    </script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/web/js/conv.js"></script>
</head>

<body id="login_bg">
<div class="login_wrapper">
    <div class="login_header">
        <a href="h/"><img src="${pageContext.request.contextPath}/static/web/images/logo_white.png" width="285" height="62" alt="拉勾招聘" /></a>
        <div id="cloud_s"><img src="${pageContext.request.contextPath}/static/web/images/cloud_s.png" width="81" height="52" alt="cloud" /></div>
        <div id="cloud_m"><img src="${pageContext.request.contextPath}/static/web/images/cloud_m.png" width="136" height="95"  alt="cloud" /></div>
    </div>

    <input type="hidden" id="resubmitToken" value="9b207beb1e014a93bc852b7ba450db27" />
    <div class="login_box">

        <form id="loginForm" action="<%=path%>/zhuang/reset3" >
            <c:if test="${sessionScope.company!=null}">
                <input type="hidden" name="email" value="${sessionScope.company.email}">
                <input type="hidden" name="type" value="1">
            </c:if>
            <c:if test="${sessionScope.userinfo!=null}">
                <input type="hidden" name="email" value="${sessionScope.userinfo.email}">
                <input type="hidden" name="type" value="0">
            </c:if>
            <input type="password" id="email" name="userpass" value="" tabindex="1" placeholder="请输入新密码" />
            <span></span>
            <input type="password" id="password" name="userpass2" tabindex="2" placeholder="请确认新密码" />
            <span></span>
            <%--<input type="password" id="password" name="userpass2" tabindex="2" placeholder="请输入密码" />--%>

            <input type="submit" id="submitLogin" value="确 &nbsp; &nbsp; 定" />

            <%--<a style="color:#fff;" href="index.html" class="submitLogin" title="登 &nbsp; &nbsp; 录"/>登 &nbsp; &nbsp; 录</a>--%>


            <input type="hidden" id="callback" name="callback" value=""/>
            <input type="hidden" id="authType" name="authType" value=""/>
            <input type="hidden" id="signature" name="signature" value=""/>
            <input type="hidden" id="timestamp" name="timestamp" value=""/>
        </form>
        <div class="login_right">
            <div>登录</div>
            <a href="${pageContext.request.contextPath}/zhuang/register" class="registor_now">立即登录</a>
            <div class="login_others">使用以下账号直接登录</div>
            <a  href="h/ologin/auth/sina.html"  target="_blank" class="icon_wb" title="使用新浪微博帐号登录"></a>
            <a  href="h/ologin/auth/qq.html"  class="icon_qq" target="_blank" title="使用腾讯QQ帐号登录" ></a>
        </div>
    </div>
    <div class="login_box_btm"></div>
</div>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-3.5.1.min.js"></script>
<script type="text/javascript">
    /* var path="${pageContext.request.contextPath}";
    $(function () {
        $("#email").blur(checkEmail);
    });

    //验证邮箱格式是否正确
    function checkEmail(){

        var email=$("#email").val();
        var reg=/^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/;
        var flag=reg.test(email);
        if(!flag){
            $("#email").next().html("邮箱格式不正确");
            $("#email").next().css("color","red");
            return false
        }
        else {
            $("#email").next().html("√");
            $("#email").next().css("color","green");
            return true;
        }

    }
*/

    $(document).ready(function(e) {
        $('.register_radio li input').click(function(e){
            $(this).parent('li').addClass('current').append('<em></em>').siblings().removeClass('current').find('em').remove();
        });

        $('#email').focus(function(){
            $('#beError').hide();
        });
    });

</script>

</body>
</html>
<script>
    var path="${pageContext.request.contextPath}";
    $(function () {
        $("#email").blur(checkPass);
        $("#password").blur(checkPass2);
    });

    function checkPass(){

        var pass=$("#email").val();
        var reg = /^[\w]{8,16}$/;
        var flag=reg.test(pass);
        if(!flag){
            $("#email").next().html("X");
            $("#email").next().css("color","red");
            return false
        }
        else {
            $("#email").next().html("√");
            $("#email").next().css("color","green");
            return true;
        }

    }

    function checkPass2(){

        var pass =$("#email").val();
        var pass2 = $("#password").val();

        if(pass!=pass2){
            $("#password").next().html("X");
            $("#password").next().css("color","red");
            return false
        }
        else {
            $("#password").next().html("√");
            $("#password").next().css("color","green");
            return true;
        }

    }
</script>





<script>
    $(function(){
        //给form表单添加提交事件  当提交form表单的时候u 执行该事件
        $("#loginForm").submit(check);
    });

    //方法返回true  表单就会提交  返回的false  表单就不会提交
    function check()
    {
        var pass1 = checkPass();
        var pass2 = checkPass2();
        if(pass1==true&pass2==true)
        {
            return true;
        }
        else
        {
            return false;
        }

    }
</script>
